from pydantic import BaseModel

class DockerImageSchema(BaseModel):
    REPOSITORY: str
    TAG: str
    IMAGE_ID: str | None
    CREATED: str
    SIZE: int

class DockerContainerSchema(BaseModel):
    NAME: str
    CONTAINER_ID: str
    IMAGE: str
    COMMAND: str
    CREATED: str
    STATUS: str
    PORTS: str | None